import request from '@/common/request'

export function addUpdateSetting(data) {
  return request({
    url: '/apikanke/settings/addUpdateSetting',
    method: 'post',
    data,
  })
}

export function getList(data) {
  return request({
    url: '/apikanke/settings/getList',
    method: 'post',
    data,
  })
}

export function getConfig(data) {
  return request({
    url: '/apikanke/settings/getConfig',
    method: 'post',
    data,
  })
}

export function editConfig(data) {
  return request({
    url: '/apikanke/settings/editConfig',
    method: 'post',
    data,
  })
}
